package puan.com.weighBox;

import android.app.Application;
import android.content.Context;

import com.evan.ble.BleManager;

import puan.com.weighBox.base.lifecycled.WGAActivityLifecycleCallbacks;

public class MainApplication extends Application {
    public static Context mContext;

    @Override
    public void onCreate() {
        super.onCreate();
        registerActivityLifecycleCallbacks(new WGAActivityLifecycleCallbacks());

        mContext = this;
        BleManager.getInstance().init(this);
    }

    public static Context getContext() {
        return mContext;
    }
}
